Skip to content

Extend _tensor_elementwise_impl (unary) part 2#2796

Merged
vlad-perevezentsev merged 179 commits intoinclude-dpctl-tensorfrom
move_tensor_elementwise_impl_unary_par_2
Mar 17, 2026
Merged

Extend _tensor_elementwise_impl (unary) part 2#2796
vlad-perevezentsev merged 179 commits intoinclude-dpctl-tensorfrom
move_tensor_elementwise_impl_unary_par_2

Conversation

@vlad-perevezentsev
Copy link
Contributor

@vlad-perevezentsev vlad-perevezentsev commented Mar 4, 2026

This PR extends _tensor_elementwise_impl with part of the unary functions: cos, cosh, exp, expm1, floor, imag, isfinite, isinf, isnan, log, log1p, log2, log10, logical_not, negative, positive

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@vlad-perevezentsev vlad-perevezentsev marked this pull request as ready for review March 11, 2026 13:24
ndgrigorian
ndgrigorian previously approved these changes Mar 12, 2026
Copy link
Collaborator

@ndgrigorian ndgrigorian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked over includes and nothing stood out, this one LGTM

Base automatically changed from move_tensor_elementwise_impl_unary to include-dpctl-tensor March 16, 2026 13:18
@vlad-perevezentsev vlad-perevezentsev dismissed ndgrigorian’s stale review March 16, 2026 13:18

The base branch was changed.

@github-actions
Copy link
Contributor

Array API standard conformance tests for dpnp=0.20.0dev3=py313h509198e_197 ran successfully.
Passed: 1355
Failed: 2
Skipped: 16

antonwolfy
antonwolfy previously approved these changes Mar 17, 2026
Copy link
Contributor

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with small nits below

@vlad-perevezentsev vlad-perevezentsev merged commit ce5f54e into include-dpctl-tensor Mar 17, 2026
60 of 79 checks passed
@vlad-perevezentsev vlad-perevezentsev deleted the move_tensor_elementwise_impl_unary_par_2 branch March 17, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants